
import http from "@/http";


export default {

    select: {
        name: "查询出库单",
        path: "/api/oo",
        call: async function (params: any = {}) {

            return await http.get(this.path, params)
        }

    },
    add: {
        name: "新增出库单",
        path: "/api/oo",
        call: async function (params: any = {}) {

            return await http.post(this.path, params)
        }

    },
    update: {
        name: "修改出库单",
        path: "/api/oo",
        call: async function (params: any = {}) {

            return await http.put(this.path, params)
        }

    },
    delete: {
        name: "删除出库单",
        path: "/api/oo",
        call: async function (params: any = {}) {

            return await http.delete(this.path, params)
        }

    },
    selectItems: {
        name: "查询出库明细",
        path: "/api/oo/item",
        call: async function (params: any = {}) {

            return await http.get(this.path, params)
        }

    }



}